import i18n from '@/lang'
const { t }  = i18n.global
export let errorCode = {
  '000': t('message.reqStatus.000'),
  'default': t('message.reqStatus.default')
}
export let authCode = {
  '-100':t('message.reqStatus.-100'),
  '-101':t('message.reqStatus.-101'),
  '-102':t('message.reqStatus.-102'),
  '-103':t('message.reqStatus.-103'),
  '-104':t('message.reqStatus.-104'),
  '-105':t('message.reqStatus.-105'),
  '-106':t('message.reqStatus.-106'),
  '-107':t('message.reqStatus.-107'),
}
export let authErrorCode = ['-100','-101','-102','-103','-104','-105','-106','-107']

